package com.dao;

import com.model.PlacedHospitalRelationProduct;
import com.model.PlacedHospitalRelationSysUser;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PlacedHospitalRelationSysUserMapper {


    int insert(PlacedHospitalRelationSysUser record);

//    int updateByPrimaryKeySelective(PlacedHospitalRelationProduct record);

    PlacedHospitalRelationSysUser selectByPrimaryKey(Long id);

//    PlacedHospitalRelationProduct selectByHospitalIdAndProductId(@Param("hospitalId") Long hospitalId, @Param("productId") Long productId);

    List<PlacedHospitalRelationSysUser> selectByCondition(PlacedHospitalRelationSysUser recode);

    int deleteByCondition(PlacedHospitalRelationSysUser recode);

}